home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / redakcyjne / PEBuilder / pebuilder3110a.exe / {app} / plugin / nu2menu / nu2menu.xml < prev    next >
Extensible Markup Language  |  2005-01-12  |  5KB  |  87 lines

  1. <?xml version="1.0"?>
  2.  
  3. <NU2MENU>
  4.     <MENU ID="Startmenu">
  5.         <MITEM TYPE="POPUP" DISABLED="@SetMenuPos( 'L','B' )0" MENUID="Programs">Programs</MITEM>
  6.         <MITEM TYPE="POPUP" MENUID="System">System</MITEM>
  7.         <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetEnvVar('ComSpec')">Command Prompt (CMD)</MITEM>
  8.         <MITEM TYPE="ITEM" CMD="RUN" FUNC="@ShowRunDialog()">Run...</MITEM>
  9.         <MITEM TYPE="POPUP" MENUID="About">About</MITEM>
  10.         <MITEM TYPE="SEPARATOR"></MITEM>
  11.         <MITEM TYPE="POPUP" VISIBILITY="@Shl(@Not(@FileExists(@GetWinDir()\setupldr.bin)),'1')" MENUID="Shutdown">Shut down</MITEM>
  12.         <MITEM TYPE="ITEM" VISIBILITY="@Shl(@FileExists(@GetWinDir()\setupldr.bin),'1')" CMD="EXIT">Exit</MITEM>
  13.     </MENU>
  14.  
  15.     <MENU ID="Shutdown">
  16.         <MITEM TYPE="ITEM" VISIBILITY="@Shl(@FileExists(@GetWinDir()\system32\nu2shell.exe),'1')" CMD="EXIT">Restart</MITEM>
  17.     </MENU>
  18.  
  19.     <MENU ID="Programs">
  20.         <MITEM TYPE="POPUP" MENUID="Accessories">Accessories</MITEM>
  21.         <MITEM TYPE="POPUP" MENUID="System Tools">System Tools</MITEM>
  22.     </MENU>
  23.     
  24.     <MENU ID="Accessories">
  25.         <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetWinDir()\system32\wordpad.exe))" CMD="RUN" FUNC="@GetWinDir()\system32\wordpad.exe">Wordpad</MITEM>
  26.         <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetWinDir()\system32\calc.exe))" CMD="RUN" FUNC="@GetWinDir()\system32\calc.exe">Calculator</MITEM>
  27.         <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetWinDir()\system32\mspaint.exe))" CMD="RUN" FUNC="@GetWinDir()\system32\mspaint.exe">Paint</MITEM>
  28.     </MENU>
  29.  
  30.     <MENU ID="System Tools">
  31.         <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetWinDir()\system32\diskcopy.dll))" CMD="RUN" FUNC="@GetWinDir()\system32\RunDLL32.exe @GetWinDir()\system32\diskcopy.dll,DiskCopyRunDll">Disk copy (floppy)</MITEM>
  32.     </MENU>
  33.  
  34.     <MENU ID="System">
  35.         <MITEM TYPE="POPUP" MENUID="Network">Network</MITEM>
  36.         <MITEM TYPE="POPUP" MENUID="Storage">Storage</MITEM>
  37.         <MITEM TYPE="POPUP" MENUID="Display">Display</MITEM>
  38.         <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetWinDir()\system32\main.cpl))" CMD="RUN" FUNC="rundll32.exe shell32.dll,Control_RunDLL @GetWinDir()\system32\main.cpl">Mouse</MITEM>
  39.         <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetWinDir()\system32\timedate.cpl))" CMD="RUN" FUNC="rundll32.exe shell32.dll,Control_RunDLL @GetWinDir()\system32\timedate.cpl">Date and Time</MITEM>
  40.         <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetWinDir()\system32\access.cpl))" CMD="RUN" FUNC="rundll32.exe shell32.dll,Control_RunDLL @GetWinDir()\system32\access.cpl">Accessibility Options</MITEM>
  41.         <MITEM TYPE="ITEM" CMD="RUN" FUNC="taskmgr.exe">Task Manager</MITEM>
  42.         <MITEM TYPE="POPUP" MENUID="Nu2Menu">Nu2Menu</MITEM>
  43.     </MENU>
  44.  
  45.     <MENU ID="Network">
  46.     </MENU>
  47.  
  48.     <MENU ID="Storage">
  49.         <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetWinDir()\system32\diskpart.exe))" CMD="RUN" FUNC="diskpart.exe">DiskPart</MITEM>
  50.     </MENU>
  51.  
  52.     <MENU ID="Display">
  53.         <MITEM TYPE="POPUP" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\Nu2Menu\setres.exe))" MENUID="Resolution">Screen Resolution</MITEM>
  54.     </MENU>
  55.  
  56.     <MENU ID="Resolution">
  57.         <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetProgramDrive()\Programs\Nu2Menu\setres.exe h640 v480">640x480</MITEM>
  58.         <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetProgramDrive()\Programs\Nu2Menu\setres.exe h800 v600">800x600</MITEM>
  59.         <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetProgramDrive()\Programs\Nu2Menu\setres.exe h1024 v768">1024x768</MITEM>
  60.         <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetProgramDrive()\Programs\Nu2Menu\setres.exe h1280 v1024">1280x1024</MITEM>
  61.     </MENU>
  62.  
  63.     <MENU ID="Nu2Menu">
  64.         <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetWinDir()\system32\notepad.exe @GetProgramDrive()\Programs\Nu2Menu\nu2menu.xml">Edit menu</MITEM>
  65.         <MITEM TYPE="ITEM" CMD="RELOAD">Reload menu</MITEM>
  66.         <MITEM TYPE="SEPARATOR"></MITEM>
  67.         <MITEM TYPE="ITEM" CMD="HIDEFROMTASKBAR">Hide from taskbar</MITEM>
  68.         <MITEM TYPE="ITEM" CMD="SHOWINTASKBAR">Show in taskbar</MITEM>
  69.     </MENU>
  70.  
  71.     <MENU ID="About">
  72.         <MITEM TYPE="ITEM">OS: Windows @GetOSVersion(), Service Pack @GetServicePackNumber(), Build @OsBuild()</MITEM>
  73.         <MITEM TYPE="ITEM">User: @GetUserName() on @GetHostName()</MITEM>
  74.         <MITEM TYPE="ITEM">Windows directory: @GetWinDir()</MITEM>
  75.         <MITEM TYPE="ITEM">Temp dir: @GetTmpDir()</MITEM>
  76.         <MITEM TYPE="ITEM">Get environment ComSpec: @GetEnvVar('ComSpec')</MITEM>
  77.         <MITEM TYPE="SEPARATOR"></MITEM>
  78.         <MITEM TYPE="ITEM">PE-Builder version: @GetRegKey( 'HKLM', 'SYSTEM\CurrentControlSet\Control\PE Builder', 'Version', 'REG_SZ' )</MITEM>
  79.         <MITEM TYPE="ITEM">BartPE and PE Builder are Copyright (c) 2002-2004 Bart Lagerweij.</MITEM>
  80.         <MITEM TYPE="ITEM">http://www.nu2.nu/pebuilder/</MITEM>
  81.         <MITEM TYPE="SEPARATOR"></MITEM>
  82.         <MITEM TYPE="ITEM">Nu2Menu version: @Ver()</MITEM>
  83.         <MITEM TYPE="ITEM">Program directory: @GetProgramDir()</MITEM>
  84.         <MITEM TYPE="ITEM">Program drive: @GetProgramDrive()</MITEM>
  85.     </MENU>
  86. </NU2MENU>
  87.